package com.neusoft.domain;

import java.math.BigDecimal;

public class VirtualWalletPO {
    private Long id;
    private Long userId;
    private BigDecimal balance;
    private BigDecimal creditLimit;         // 花呗信用额度
    private BigDecimal usedCredit;     // 已使用的花呗额度
    private BigDecimal penaltyAmount;       // 滞纳金余额


    // 构造函数
    public VirtualWalletPO() {
    }

    // getter和setter方法
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public BigDecimal getCreditLimit() {
        return creditLimit;
    }

    public void setCreditLimit(BigDecimal creditLimit) {
        this.creditLimit = creditLimit;
    }

    public BigDecimal getUsedCredit() {
        return usedCredit;
    }

    public void setUsedCredit(BigDecimal usedCredit) {
        this.usedCredit = usedCredit;
    }

    public BigDecimal getPenaltyAmount() {
        return penaltyAmount;
    }

    public void setPenaltyAmount(BigDecimal penaltyAmount) {
        this.penaltyAmount = penaltyAmount;
    }
}